package org.springblade.modules.device.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_device_alert")
public class DeviceAlert {
	public static final String RUN_STATUS_TYPE = "RUN_EXC";
	public static final String SCARCE_STATUS_TYPE = "SCARCE_EXC";
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	private String deviceId;
	private String deviceNo;

	private Integer runStatus;
	private Date runAlertUpdate;
	private Long runHisId;

	private Integer scarceStatus;
	private Date scarceAlertUpdate;
	private Long scarceHisId;

	private Date updateTime;

}
